package com.catmai.pssmanager.dao;

import java.sql.SQLException;
import java.util.List;

import com.catmai.pssmanager.po.Goods;

public interface GoodsDao extends BasicDao<Goods>{
	
	public List<Goods> findAll() throws SQLException;

	public void saveObject(Goods goods) throws SQLException;

	public void deleteObject(Integer goodsId) throws SQLException;

	public void updateObject(Goods goods) throws SQLException;

	public Goods getGoodsById(Integer goodsId) throws SQLException;
	
	public List<Goods> getGoodsByAreaId(Integer areaId) throws SQLException;
}
